Skip to content

fix(aria/combobox): error when popup is destroyed before first change detection - #33974

Merged
crisbeto merged 1 commit into
angular:mainfrom
lazerg:fix/issue-33972-combobox-popup-destroy
Oct 20, 2026
Merged

crisbeto merged 1 commit into
angular:mainfrom
lazerg:fix/issue-33972-combobox-popup-destroy

Conversation

@lazerg

@lazerg lazerg commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

ComboboxPopup read its required combobox input in ngOnDestroy, so destroying the popup before its first change detection threw NG0950. The popup now keeps the combobox it registered with in ngOnInit and only unregisters from that one.

Fixes #33972.

@crisbeto crisbeto added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release and removed area: aria/combobox labels Oct 20, 2026
@crisbeto
crisbeto merged commit bbc5750 into angular:main Oct 20, 2026
35 checks passed
crisbeto pushed a commit that referenced this pull request Oct 20, 2026
@crisbeto

Copy link
Copy Markdown
Member

This PR was merged into the repository. The changes were merged into the following branches:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(aria/combobox): ComboboxPopup throws NG0950 when destroyed before its first change detection

2 participants